//
//  WatermarkSelectViewVM.swift
//  WatermarkCamera
//
//  Created by 赵新 on 6/7/2024.
//

import UIKit
import RxRelay

class WatermarkSelectViewVM: NSObject {

    let watermarkList: BehaviorRelay<[WatermarkDetailModel]> = .init(value: [])
    
    func loadWatermarkList() {
        let watermarks: [WatermarkDetailModel] = [
            .Create(name: "时间地点", imageName: "shijiandidian").set(type: .timeAddress),
            
            .Create(name: "考勤打卡", imageName: "kaoqindaka").set(type: .clocking),
            .Create(name: "下班打卡", imageName: "xiabandaka").set(type: .clocking),
            .Create(name: "考勤备注", imageName: "kaoqinbeizhu").set(type: .clocking),
            
            .Create(name: "工程记录", imageName: "gongchengjilu").set(type: .project),
            .Create(name: "室内吊顶", imageName: "shineidiaoding").set(type: .project),
            .Create(name: "材料进场", imageName: "cailiaojinchang").set(type: .project),
            .Create(name: "水电开槽", imageName: "shuidiankaicao").set(type: .project),
            .Create(name: "钢筋绑扎", imageName: "gangjinbangza").set(type: .project),
            .Create(name: "防水堵漏", imageName: "fangshuidulou").set(type: .project),
            
            .Create(name: "环卫水印", imageName: "huanweishuiyin").set(type: .sanitation),
            .Create(name: "设施养护", imageName: "sheshiyanghu").set(type: .sanitation),
            .Create(name: "市政绿化", imageName: "shizhenglvhua").set(type: .sanitation),
            .Create(name: "环卫巡查", imageName: "huanweixuncha").set(type: .sanitation),
            
            .Create(name: "物业巡检", imageName: "wuyexunjian").set(type: .security),
            .Create(name: "值班巡检", imageName: "zhibanxunjian").set(type: .security),
            .Create(name: "治安巡逻", imageName: "zhianxunluo").set(type: .security),
            
            .Create(name: "水电预埋", imageName: "shuidianyumai").set(type: .project),
            .Create(name: "安全技术交底", imageName: "anquanjishujiaodi").set(type: .project),
            .Create(name: "地面找平", imageName: "dimianzhaoping").set(type: .project),
            .Create(name: "材料见证取样", imageName: "cailiaoquzhengjianyang").set(type: .project),
            
            .Create(name: "日常消杀", imageName: "richangxiaosha").set(type: .project),
            .Create(name: "疫情上报", imageName: "yiqingshangbao").set(type: .project),
            .Create(name: "环境消杀", imageName: "huanjingxiaosha").set(type: .project),
            
            .Create(name: "学习培训", imageName: "xuexipeixun").set(type: .security),
            .Create(name: "工作汇报", imageName: "gongzuohuibao").set(type: .security),
            .Create(name: "内务检查", imageName: "neiwujiancha").set(type: .security),
            .Create(name: "市场监管", imageName: "shichangjianguan").set(type: .security),
            .Create(name: "故障维修", imageName: "guzhangweixiu").set(type: .security),
            .Create(name: "会议记录", imageName: "huiyijilu").set(type: .security),
            
            
        ]
        watermarkList.accept(watermarks)
    }
    
}

